package com.antoco.operation.bigscreen.mapper;

import org.mapstruct.Mapping;
import com.antoco.operation.bigscreen.model.dto.PipeYearsTjDTO;
import com.antoco.operation.bigscreen.model.entity.PipeYearsTj;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring", uses = ReferenceMapper.class)
public interface PipeYearsTjMapper extends GenericMapper<PipeYearsTj, PipeYearsTjDTO> {
    @Override
    @Mapping(target = "id", ignore = false)
    PipeYearsTj asEntity(PipeYearsTjDTO dto);
}
